package com.sail.www.client.util;

public enum PagePath {
	
	HomePage("HomePage"), LoginPage("LoginPage");

	private String path;

	private PagePath(String path) {
		this.path = path;
	}

	public String getPath() {
		return path;
	}

	public static PagePath from(String path) {
		for (PagePath pagePath : PagePath.values()) {
			if (pagePath.getPath().equals(path)) {
				return pagePath;
			}
		}
		return null;
	}
}
